//
//  BaseViewController.h
//  IpadR
//
//  Created by edianzu on 2017/5/23.
//  Copyright © 2017年 ruilai. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <WebKit/WebKit.h>
#import "HttpRequest.h"
#import "HexColor.h"
#import "Masonry.h"
#import "MJRefresh.h"

#import "UIView+UUFrame.h"
#import "MBProgressHUD.h"
#import "AFNetworking.h"
#import <AliyunOSSiOS/OSSService.h>
#import "UIImageView+WebCache.h"
#import "SchoolModel.h"
#import "ClassModel.h"
#import "ChildModel.h"
#import "ChineseString.h"


#if DEVELOPMENT
#define URL @"http://114.215.78.47:8006/"
#else
#define URL @"http://114.215.78.47:8005/"
#endif

//1024 768
#define SCREEN_WIDTH ([UIScreen mainScreen].bounds.size.width)
#define SCREEN_HEIGHT ([UIScreen mainScreen].bounds.size.height)
//#define URL @"http://114.215.78.47:8006/"
#define SDURL @"http://ruilai-image.oss-cn-qingdao.aliyuncs.com/"
#define kAlphaNum @"0123456789"
#define UIColorFromRGB(r, g, b) [UIColor colorWithRed:(r)/255.0 green:(g)/255.0 blue:(b)/255.0 alpha:1.0]
#define Green_Main @"#00bcab"//主色调绿
#define Green_One @"#5ebdbb"//副色调绿
#define Orange_One @"#f8b551"//副色调橙
#define Title_Color @"#222222"//标题
#define Content_Color @"#5a5a5a"//正文
#define Line_Color @"#f8b551"//线
#define Card_Red @"#f34e6c"//红卡片
#define Card_Green_One @"#4edb68"//浅绿卡片
#define Card_Green_Two @"#00bcab"//深绿卡片
#define Card_Orange @"#ff9400"//橘黄卡片
#define Gray_Back @"#f2f2f2"//灰色背景
#define Keyboard_Back @"#eaeff2"//键盘背景
#define Keyboard_text @"#485c65"//键盘字
#define CanNot_tap @"#e7e7e7"//无法点击色

@interface BaseViewController : UIViewController
@property (nonatomic ,strong)OSSClient * client;
@property (nonatomic,strong) MBProgressHUD * HUD;
-(void)showMessage:(NSString *)message;

@end
